* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.头像展示区 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

img {
    width: 40px;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.聊天记录 {
    width: 600px;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    padding: 4px;
}

.右侧部分 {
    margin-left: 12px;
}

.昵称区域 {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.聊天记录主区域 {
    background-color: #eee;
    padding: 12px;
    border-radius: 4px;
}